package com.zcxy.core.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zcc
 * @version 1.0.0
 * @ClassName ColumnController.java
 * @Description TODO
 * @createTime 2020年07月30日 17:25:00
 */
@Data
@ApiModel("ColumnController")
public class ColumnController implements Serializable {
    @ApiModelProperty(value = "列名")
    private String label;

    @ApiModelProperty(value = "是否可编辑")
    private boolean canEdit;


    @ApiModelProperty(value = "1.物料公有2.bom系统预设3.bom自定义4.基础固定字段")
    private String type;


    @ApiModelProperty(value = "用来映射下拉列表值")
    private String dictCode;


    //控件类型
    @ApiModelProperty(value = "控件类型")
    private String controllType;


    @ApiModelProperty(value = "用来映射列表的value值")
    private String key;

    //属性的值
    @ApiModelProperty(value = "属性值")
    private String value;

    //多余参数构造
    private Props props;

    //校验器
    @ApiModelProperty(value = "校验")
    private List<Validate> validate;


}
